{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">标题：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$zhengce.zc_title}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">标签：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$zhengce.zc_label}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">描述：</label>
                            <div class="layui-input-block">
                                <textarea class="layui-input" style="height:80px" disabled>{$zhengce.zc_describe}</textarea>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">缩略图：</label>
                            <div class="layui-input-block">
                                <img class="layui-append-img img-circle" src="{$zhengce.zc_image}" onerror="this.src='/static/admin/images/no_img.jpg'">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">详情：</label>
                            <div class="layui-input-block" >
                                <textarea id="LAY_editor2">{$zhengce.zc_content}</textarea>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">分类：</label>
                            <div class="layui-input-block">
                                <select name="zc_type" disabled>
                                    <option value="" >请选择</option>
                                    {foreach name="type" item="v"}
                                    <option value="{$v.zt_id}" {$v.zt_id==$zhengce.zc_type?'selected':''}>{$v.zt_name}</option>
                                    {/foreach}
                                </select>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8 form-group">
                            <label class="layui-form-label" disabled="">首页大图：</label>
                            <div class="layui-input-block">
                                <select name="zc_is_big" disabled>
                                    <option value="1" {$zhengce.zc_is_big==1?'selected':''}>不是大图</option>
                                    <option value="2" {$zhengce.zc_is_big==2?'selected':''}>大图</option>
                                    <option value="3" {$zhengce.zc_is_big==3?'selected':''}>不显示</option>
                                </select>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8 form-group">
                            <label class="layui-form-label">视频按钮：</label>
                            <div class="layui-input-block">
                                <select name="zc_is_show_video" disabled>
                                    <option value="1" {$zhengce.zc_is_show_video==1?'selected':''}>不显示</option>
                                    <option value="2" {$zhengce.zc_is_show_video==2?'selected':''}>显示</option>
                                </select>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                                <button class="layui-btn layui-btn-primary" onclick="history.go(-1)">返回</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script>
    //百度富文本编辑器
    var ue = wk.UEditor({id:"LAY_editor2",cloud:true,uploadimage:'/admin/Upload/ueditorUpload',uploadscrawl:'/admin/Upload/uploadScrawl',uploadfile:'/admin/Upload/ueditorUpload'});
</script>

</body>
</html>
